package com.spring.daily.web.model;

import java.util.Date;
import java.util.List;

import com.spring.common.web.dto.BaseDTO;

public class DailyRecordBase extends BaseDTO{
	private Date babyBirthday ;
	private String babyEnglishName ;
	private String babyid ;
	private String babyName ;
	private Integer babySex ;
	private String className;
	private String courseClassid;
	private List<DailyRecordDetailBase> detail;
	private Date enterDate;
	private Integer hasRead ;
	private String id;
	private Date recordDate ;
	private String teacherComment ;
	private String teacherid ;
	private String teacherName ;
	private String babyImage;
	public String getBabyImage() {
		return babyImage;
	}
	public void setBabyImage(String babyImage) {
		this.babyImage = babyImage;
	}
	public long getBabyBirthday() {
		if(babyBirthday==null){
			return 0;
		}
		return babyBirthday.getTime()/1000;
	}
	public String getBabyEnglishName() {
		return babyEnglishName;
	}
	public String getBabyid() {
		return babyid;
	}
	public String getBabyName() {
		return babyName;
	}
	public Integer getBabySex() {
		return babySex;
	}
	public String getClassName() {
		return className;
	}
	public String getCourseClassid() {
		return courseClassid;
	}
	public List<DailyRecordDetailBase> getDetail() {
		return detail;
	}
	public long getEnterDate() {
		if(enterDate==null){
			return 0;
		}
		return enterDate.getTime()/1000;
	}
	public Integer getHasRead() {
		return hasRead;
	}
	public String getId() {
		return id;
	}
	public long getRecordDate() {
		if(recordDate==null){
			return 0;
		}
		return recordDate.getTime()/1000;
	}
	public String getTeacherComment() {
		return teacherComment;
	}
	public String getTeacherid() {
		return teacherid;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setBabyBirthday(Date babyBirthday) {
		this.babyBirthday = babyBirthday;
	}
	public void setBabyEnglishName(String babyEnglishName) {
		this.babyEnglishName = babyEnglishName;
	}
	public void setBabyid(String babyid) {
		this.babyid = babyid;
	}
	public void setBabyName(String babyName) {
		this.babyName = babyName;
	}
	public void setBabySex(Integer babySex) {
		this.babySex = babySex;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public void setCourseClassid(String courseClassid) {
		this.courseClassid = courseClassid;
	}
	public void setDetail(List<DailyRecordDetailBase> detail) {
		this.detail = detail;
	}
	public void setEnterDate(Date enterDate) {
		this.enterDate = enterDate;
	}
	public void setHasRead(Integer hasRead) {
		this.hasRead = hasRead;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}
	public void setTeacherComment(String teacherComment) {
		this.teacherComment = teacherComment;
	}
	public void setTeacherid(String teacherid) {
		this.teacherid = teacherid;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
}
